package org.jimmy.tang.designpattern.behavior.command;

/**
 * @author jimmy
 * 
 */
public class Test {

    /**
     * 
     * @param args
     */
    public static void main(String[] args) {
        Receiver rec = new Receiver();
        Command cmd = new CommandImpl(rec);
        Invoker i = new Invoker();
        i.setCommand(cmd);
        i.execute();
    }

}
